<!doctype html>
<title>{% block title %}{% endblock %} - expresser</title>
<link rel="stylesheet" href="/stylesheets/style.css">
<nav>
  <h1><a href="/">expresser</a></h1>
  <ul>
    {% if user %}
      <li><span>{{ user.username }}</span>
      <li><a href="/auth/logout">Log Out</a>
    {% else %}
      <li><a href="/auth/register">Register</a>
      <li><a href="/auth/login">Log In</a>
    {% endif %}
  </ul>
</nav>
<section class="content">
  <header>
    {% block header %}{% endblock %}
  </header>
  {% if message %}
    <div class="flash">{{ message }}</div>
  {% endif %}
  {% block content %}{% endblock %}
</section>
